<aside class="bd-sidebar sub-sidebar w-50">
    <nav class="bd-links p-3" aria-label="Sub-section navigation">
        <div class="card card-body">
            <actions preview-url="viewmodel.detailsUrl" back-url="'/portal/permission/list'"></actions>
            <div class="card mt-3">
                <h6 class="card-header">Role Assignment</h6>
                <div class="card-body">
                    <permission-plug-play search-text="request.keyword" pages="data" page="viewmodel"
                        prefix-parent="'perm_parent_'" prefix-child="'perm_child_'"></permission-plug-play>
                </div>
            </div>
        </div>
    </nav>
</aside>

<!-- ----------------------------------------------------------- -->

<div class="content-body py-3 pe-3">
    <h3>Create Permission</h3>
    <p class="text-subtitle text-muted">
        Fill all of the following columns to create a new permission.
    </p>
    <div class="card">
        <div class="card-body">
            <!-- Main content -->
            <section ng-init="getSingle()">
                <form ng-class="{'submitted': submitted}" ng-submit="save()">
                    <permission-main ng-if="viewmodel" page="viewmodel"></permission-main>
                </form>
            </section>

            <!-- /.content -->
        </div>
    </div>
</div>